package de.medieninf.sensimg;

/**
 * Interface, which classes that want to receive acceleration data
 * should implement. Instances can then register themselves to SensorService.
 * @author pb
 */
public interface AccelerationListener {
    /**
     * update function will be called for each sensor data.
     * @param x double, acceleration value (- left, + right)
     * @param y double, acceleration value (- towards, + away)
     * @param z double, acceleration value (- down[standard], + up[turned])
     */
    void update(double x, double y, double z);
}
